{% extends "base.html" %}
{% load i18n %}
{% block content %}
      <div id="mainContent">      
      <form action="{{ action }}" method="post">
        <fieldset>
          <!-- <legend>{% trans "User Setting" %}</legend> -->
          {% for field in form %}
          <p>
            {% if field.errors %}
            <div class="error">
              <ol>
              {% for error in field.errors %}
              <li>{{ error }}</li>
              {% endfor %}
              </ol>
            </div>
            {% endif %}
            {{ field.label_tag }}:<br>
            {{ field }}
          </p>
          {% endfor %}
          <p class=""><input type="submit" class="btn btn-green big" value="{% trans 'Submit' %}"/></p>
        </fieldset>        
      </form>
      </div>
{% endblock %}